/**
 * 
 */
package com.jeecms.wicool.manager.shops;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.shops.RedPacket;

/**
 * @author spring
 *
 */
public interface RedPacketMng {
	public Pagination getPage(String name,String startDate,String endDate,int pageNo, int pageSize,CmsUser user);
	public RedPacket findById(Integer id);
	public RedPacket save(RedPacket redPacket,Integer shopId);
	public RedPacket update(RedPacket redPacket);
	public RedPacket deleteById(Integer id);
	public RedPacket[] deleteByIds(Integer[] ids);
}
